package edu.njpi.vueajax.model;

/**
 * @Classname User
 * @Description TODO
 * @Date 2021/7/1 11:58 上午
 * @Created by lqj(1724226325@qq.com)
 */
public class User {
    private String userName;
    private String password;

    /**
     * constructor
     * @param userName
     * @param password
     */
    public User(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }

    /**
     * 无参构造函数
     */
    public User() {
    }
    /**
     * toString方法
     */
    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
